<?php
/*
 * @Author: zeyudada
 * @Date: 2022-01-09 19:01:22
 * @LastEditTime: 2022-04-07 22:22:43
 * @Description: 用户头部
 * @Q Q: zeyunb@vip.qq.com(1776299529)
 * @E-mail: admin@zeyudada.cn
 * 
 * Copyright (c) 2022 by zeyudada, All Rights Reserved. 
 */
include("../include/common.php");
session_start();

if (!$_SESSION['user']) {
	header("Location: /user/login.php");
	die('您还未登录跳转中。。。请稍等');
}else{
	$_SESSION['user'] = $DB->get_row("SELECT * FROM `user` WHERE id = ".$_SESSION['user']['id']);
}
?><!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">